package au.org.arcs.dss.provider.dataset.request;

/**
 *
 * @author ming
 */
public class DataSetRequest {
  private boolean loadFromCache = true;
  private boolean checkForUpdate = false;
  private boolean loadData = false;
  private boolean loadDescendent = false;
  private boolean loadParent = false;
  private boolean pathContainsName = false;

  private String name;
  private String path;


  /**
   * @return the loadData
   */
  public boolean isLoadData() {
    return loadData;
  }

  /**
   * @param loadData the loadData to set
   */
  public void setLoadData(boolean loadData) {
    this.loadData = loadData;
  }

  /**
   * @return the loadDescendent
   */
  public boolean isLoadDescendent() {
    return loadDescendent;
  }

  /**
   * @param loadDescendent the loadDescendent to set
   */
  public void setLoadDescendent(boolean loadDescendent) {
    this.loadDescendent = loadDescendent;
  }

  /**
   * @return the loadParent
   */
  public boolean isLoadParent() {
    return loadParent;
  }

  /**
   * @param loadParent the loadParent to set
   */
  public void setLoadParent(boolean loadParent) {
    this.loadParent = loadParent;
  }

  /**
   * @return the path
   */
  public String getPath() {
    return path;
  }

  /**
   * @param path the path to set
   */
  public void setPath(String path) {
    this.path = path;
  }

  /**
   * @return the name
   */
  public String getName() {
    return name;
  }

  /**
   * @param name the name to set
   */
  public void setName(String name) {
    this.name = name;
  }

  /**
   * @return the loadSingleDataSet
   */
  public boolean isPathContainsName() {
    return pathContainsName;
  }

  /**
   * @param loadSingleDataSet the loadSingleDataSet to set
   */
  public void setPathContainsName(boolean pathContainsName) {
    this.pathContainsName = pathContainsName;
  }

  /**
   * @return the loadFromCache
   */
  public boolean isLoadFromCache() {
    return loadFromCache;
  }

  /**
   * @param loadFromCache the loadFromCache to set
   */
  public void setLoadFromCache(boolean loadFromCache) {
    this.loadFromCache = loadFromCache;
  }

  /**
   * @return the checkForUpdate
   */
  public boolean isCheckForUpdate() {
    return checkForUpdate;
  }

  /**
   * @param checkForUpdate the checkForUpdate to set
   */
  public void setCheckForUpdate(boolean checkForUpdate) {
    this.checkForUpdate = checkForUpdate;
  }
}
